package org.mspring.mlog.service;

import java.util.List;

import org.mspring.mlog.entity.Link;
import org.mspring.platform.persistence.hibernate.BaseDao;

/**
 * 
 * @author Gao Youbo
 * @since 2013-06-18 16:34:42
 */
public interface LinkService extends BaseDao<Link, java.lang.Long> {

    /**
     * @return
     */
    List<Link> findVisableLinks();

    /**
     * @param linkType
     * @return
     */
    List<Link> findVisableLinks(Long linkType);

    /**
     * @param visable
     * @param id
     */
    void setLinkVisable(boolean visable, Long[] id);

    /**
     * @param ids
     * @param orders
     */
    void updateLinkOrders(Long[] ids, Long[] orders);
    
}